LeadSubVendor 
EntityType  Independent 
Logical Entity Name  LeadSubVendor 
Default Table Name  AmLeadVendorRelationship 
Logical Only  NO 
Owner  dbo 
Definition 
 
Note 
 

LeadSubVendor Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
LeadSubVendorId(PK)    INTEGER  NO 
 
SyOrganizationID(FK)    INTEGER  NO 
 
ParentSyOrganizationID(FK)    INTEGER  NO 
 
LastModifiedUserId(FK)    INTEGER  NO 
 
CreatedDateTime    DATETIME  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
OrganizationId(FK)    INTEGER  YES 
 

LeadSubVendor Keys 
Key Name  Key Type  Keys 
AmLeadVendorRelationship_UserId_N_N_IDX  Inversion Entry  LastModifiedUserId 
AmLeadVendorRelationship_ParentSyOrganizationID_N_N_IDX  Inversion Entry  ParentSyOrganizationID 
AmLeadVendorRelationship_SyOrganizationID_N_N_IDX  Inversion Entry  SyOrganizationID 
PK_AmLeadVendorRelationship_AmLeadVendorRelationshipID  PrimaryKey  LeadSubVendorId 

LeadSubVendor Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
SyOrganization  Non-Identifying  One To Zero or More        ParentSyOrganizationID  NO 
SyOrganization  Non-Identifying  One To Zero or More        SyOrganizationID  NO 
Staff  Non-Identifying  One To Zero or More        LastModifiedUserId  NO 
Organization  Non-Identifying  Zero or One to Zero or More        OrganizationId  NO 
Organization  Non-Identifying  Zero or One to Zero or More        OrganizationId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

LeadSubVendor Check Constraints 
Check Constraint Name  CheckConstraint 

LeadSubVendor Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
dbo.LeadSubVendor 
NO       
Physical (Microsoft SQL Server)
dbo.AmLeadVendorRelationship 
NO       

LeadSubVendor Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Prospect 
Physical (Microsoft SQL Server)  Main Model 
Physical (Microsoft SQL Server)  Admissions 

LeadSubVendor Data Movement Rules 
Name  Type  Rule Text/Value